<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>画板</title>
    <link rel="stylesheet" href="css/draw.css">
    <script src="js/viewBar.1.js"></script>
</head>

<body>
    <div id="view_root">
        <div data-prop="box" data-style='{"width":"$width$px","height":"$height$px","left":"$left$px","top":"$top$px","transform":"scale($scale$)"}'>
            <div data-prop="rotate" data-style='{"width":"$width2$px","height":"$height2$px","transform":"rotate($rotate$deg)"}'>
            </div>
        </div>
        <div data-prop="actions">
        </div>
        <div data-prop="tools">
        </div>
    </div>
</body>
<script>
    ViewBar('#view_root', {
        src: 'css/img/timg.jpg',
        actions: [{
            'right': true,
            'wrong': true
        }]
    });
</script>

</html>